<?php

class m130729_161537_ChangeDataTypeColumnCreatedDateSomeTable extends CDbMigration
{
	public function up()
	{
		$this->execute("
			ALTER TABLE `user` MODIFY created_date DATETIME;
			ALTER TABLE `banner` MODIFY created_date DATETIME;
			ALTER TABLE `estate` MODIFY created_date DATETIME;
			ALTER TABLE `log_contact` MODIFY created_date DATETIME;
			ALTER TABLE `post` MODIFY created_date DATETIME;
		");
	}

	public function down()
	{
		echo "m130729_161537_ChangeDataTypeColumnCreatedDateSomeTable does not support migration down.\n";
		return false;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}